﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DNADataHiding.Model;
using DNADataHiding.Model.Encryption;

namespace DNADataHiding
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
           
            /*
            IEncryptor enc = new InsertionEncryptor(3, 4);
            DNASequence fakeSeq = enc.Encrypt("lorem ipsum", new DNASequence("ATGTTGATGTGAGGAGAAGTTTATTGCCAATTTCATAGAAGTGAACGTTGGGAAGGAAGCCTAATTAAGCGTGAGAGAACGAGAGGTAGAAGCGCTGTGAGACAACATGATAGTGAATATGGCGGGTGGTTTTCACACAATACGTCTAAAGTCATAGATCGTTCGCTCCTGTAAAGCCGTAATAAGAGTCTAAGAGTATGAGACGGGATATAAGGTGAGACAAGTGAGCATGAAAAAATCACTCGGTTAAAAGAGTGTAATAATGCTAAACTTCGTTTAGAGAATTACACAACAGTAAAGCAGGAGAGGTAACTAAGGAGATTACGTCTAAGTAGGTCGTATAAATTGGGGGAAATAGCGAACTTAGTATAAGACGAACTTGAGAAAAACAGGAAGTAGAGGGATAATATAGGTAAGAATCTACTCGAATAGGAAAAATTGTTCTTGAAGAATGTTGGTCAAGAAGTTGATAAATAATCCGCATTAAGAAACAATGGTCG"));

            IEncryptor dec = new InsertionEncryptor(3, 4);

            IList<DNASequence> sequences = new List<DNASequence>();
            sequences.Add(fakeSeq);

            string s = enc.Decrypt(sequences, new DNASequence("ATGTTGATGTGAGGAGAAGTTTATTGCCAATTTCATAGAAGTGAACGTTGGGAAGGAAGCCTAATTAAGCGTGAGAGAACGAGAGGTAGAAGCGCTGTGAGACAACATGATAGTGAATATGGCGGGTGGTTTTCACACAATACGTCTAAAGTCATAGATCGTTCGCTCCTGTAAAGCCGTAATAAGAGTCTAAGAGTATGAGACGGGATATAAGGTGAGACAAGTGAGCATGAAAAAATCACTCGGTTAAAAGAGTGTAATAATGCTAAACTTCGTTTAGAGAATTACACAACAGTAAAGCAGGAGAGGTAACTAAGGAGATTACGTCTAAGTAGGTCGTATAAATTGGGGGAAATAGCGAACTTAGTATAAGACGAACTTGAGAAAAACAGGAAGTAGAGGGATAATATAGGTAAGAATCTACTCGAATAGGAAAAATTGTTCTTGAAGAATGTTGGTCAAGAAGTTGATAAATAATCCGCATTAAGAAACAATGGTCG"));
            */


            Application.Run(new MainForm());
        }
    }
}
